Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan uses proper CMake Vulkan target #3079

Closed
wants to merge 1 commit into from

Conversation

EduMenges
Copy link
Contributor

Current setup uses the raw path, which is problematic when building a project that uses MNN and offers a Config file, because the absolute path of Vulkan is embedded into MNN's Config file. This makes use of the proper CMake target, Vulkan::Vulkan.

I had to bump CMake's minimum version to 3.24 because the GLOBAL attribute required for this fix is only available from that version. Version 3.6 shouldn't be used anyway, as versions < 3.10 were deprecated in CMake 3.31.

@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.6)
cmake_minimum_required(VERSION 3.24)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems cmake version update too large.

Copy link

Marking as stale. No activity in 60 days.

@github-actions github-actions bot added the stale label Jan 17, 2025
@github-actions github-actions bot closed this Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants